<template>
  <div class="search-list">
    <SearchListItem
      v-for="item in searchListArr"
      :key="item.id"
      :item="item"
      @click.native="$emit('update:currentSong', item)"
      :currentSong="currentSong"
      :playing="playing"
    ></SearchListItem>
  </div>
</template>

<script>
import SearchListItem from './SearchListItem.vue';
export default {
  components: { SearchListItem },
  props: {
    searchListArr: Array,
    currentSong: [Object, null],
    playing: Boolean,
  },
  data() {
    return {
      
    }
  },
};
</script>

<style lang="less">

</style>